package com.my.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.ToString;

import java.util.List;

/**
 * @author: marshal
 * @date: 2022-09-27 10:04
 */
@Data
@AllArgsConstructor
@ToString
public class A {
    private int id;
    private String name;
    private List<B> bList;

    @Data
    @AllArgsConstructor
    static class B {
        private int bId;
        private String bName;
    }
}
